<template>
    <div class="w-100% h-100vh flex-center">
        <n-result
            status="404"
            title="404 资源不存在"
            description="生活总归带点荒谬"
        >
            <template #footer>
                <n-button @click="router.replace({ name: 'dashboard' })">
                    回到主页
                </n-button>
            </template>
        </n-result>
    </div>
</template>

<script lang="ts" setup>
import { useRouter } from "vue-router";

const router = useRouter();
</script>

<style scoped></style>
